@echo off
REM putty.exe [-ssh | -telnet | -rlogin | -raw] [user@]host
REM Example: putty -ssh -l vagrant -pw vagrant -P 2222 127.0.0.1
REM  
REM  -V        print version information and exit
REM  -pgpfp    print PGP key fingerprints and exit
REM  -v        show verbose messages
REM  -load sessname  Load settings from saved session
REM  -ssh -telnet -rlogin -raw            force use of a particular protocol
REM  -P port   connect to specified port
REM  -l user   connect with specified username
REM  -batch    disable all interactive prompts The following options only apply to SSH connections:  -pw passw login with specified password
REM  -D [listen-IP:]listen-port           Dynamic SOCKS-based port forwarding
REM  -L [listen-IP:]listen-port:host:port            Forward local port to remote address
REM  -R [listen-IP:]listen-port:host:port            Forward remote port to local address
REM  -X -x     enable / disable X11 forwarding
REM  -A -a     enable / disable agent forwarding
REM  -t -T     enable / disable pty allocation
REM  -1 -2     force use of particular protocol version
REM  -4 -6     force use of IPv4 or IPv6
REM  -C        enable compression
REM  -i key    private key file for authentication
REM  -m file   read remote command(s) from file
REM  -s        remote command is an SSH subsystem (SSH-2 only)
REM  -N        don't start a shell/command (SSH-2 only)

%USERPROFILE%\Desktop\RAH\putty.exe -ssh -pw dahai dahai@10.0.0.2 -m %USERPROFILE%\Desktop\RAH\map_2220r2l_close.txt
%USERPROFILE%\Desktop\RAH\putty.exe -ssh -pw dahai dahai@10.0.0.2 -m %USERPROFILE%\Desktop\RAH\map_2220r2l_open.txt
